package com.binary.coder.gift.core.domain.bill.repository;

import com.binary.coder.gift.core.common.bean.PageBean;
import com.binary.coder.gift.core.domain.bill.model.entity.AccountBookEntity;
import com.binary.coder.gift.core.domain.bill.model.entity.AccountRecordEntity;
import com.binary.coder.gift.core.interfaces.bill.dto.req.PageQueryAccountBookReq;
import com.binary.coder.gift.core.interfaces.bill.dto.req.PageQueryAccountRecordReq;
import com.binary.coder.gift.core.interfaces.bill.dto.res.PageQueryAccountBookRes;
import com.binary.coder.gift.core.interfaces.bill.dto.res.PageQueryAccountRecordRes;

/**
 * @author weitao
 */
public interface AccountRepository {
    void saveAccountRecord(AccountRecordEntity entity);

    PageBean<PageQueryAccountRecordRes> pageQueryAccountRecord(PageQueryAccountRecordReq req);

    void saveAccountBook(AccountBookEntity accountBookEntity);

    PageBean<PageQueryAccountBookRes> pageQueryAccountBook(PageQueryAccountBookReq req);
}
